package server.exception;

import server.ProductLot;

public class OutOfStockException extends StockException {
	public static String OUT_OF_STOCK_EXCEPTION="OUT_OF_STOCK_EXCEPTION";	
	private ProductLot productLot;

	public OutOfStockException(final ProductLot productLot) {
		super(OutOfStockException.OUT_OF_STOCK_EXCEPTION);
		this.productLot = productLot;		
	}
	public ProductLot getProductLot() {
		return this.productLot;
	}
	
}
